import './css/base.less'
import './css/common.less'
import './assets/iconfont/iconfont.css'
import {
  a
} from './common/util'

import {
  chunk
} from 'lodash-es'
const app = document.querySelector('#app')
const div = document.createElement('div')
div.className = 'smallBox'
app.appendChild(div)

const res = a()
console.log(res)

const c = chunk([1, 2, 3, 4, 5, 6, 7], 2)
console.log(c)

$('div').addClass('test')
// d3.selectAll('div').style('border', '10px solid #0ff')

$.get('/comments/show', {
  id: '4193586758833502',
  page: 1
}, function (data) {
  console.log(data)
})

$.get('/msg/index', {
  format: 'cards'
}, function (data) {
  console.log(data)
})